package com.qd.panda.gas.station.req;

import com.qd.common.sys.domain.entity.log.SendLogDTO;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 取消订单
 *
 * @author sjk
 * @create 2022-10-08 16:18
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
@ToString
public class CancelOrderReqDTO {
    /**
     * 订单号，创建订单获取(接口方返回的订单ID)
     */
    private String orderId;
    /**
     * 第三方订单号(我们系统的订单ID)
     */
    private String thirdPartyOrderId;
    private SendLogDTO sendLog;

    public void freeData() {
        this.orderId = null;
        this.thirdPartyOrderId = null;
        //不清空sendLog
    }
}